{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "<!DOCTYPE html>\n",
      "<html lang=\"en-US\">\n",
      "  <head>\n",
      "    <meta charset=\"utf-8\">\n",
      "    <meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">\n",
      "    <title>首页 | 我的计划 * MangoMei</title>\n",
      "    <meta name=\"generator\" content=\"VuePress 1.5.0\">\n",
      "    <link rel=\"icon\" href=\"/plan/favicon.ico\">\n",
      "    <meta name=\"description\" content=\"我的计划\">\n",
      "    <link rel=\"preload\" href=\"/plan/assets/css/0.styles.cc301670.css\" as=\"style\"><link rel=\"preload\" href=\"/plan/assets/js/app.9cb09e6e.js\" as=\"script\"><link rel=\"preload\" href=\"/plan/assets/js/2.c8b48f9d.js\" as=\"script\"><link rel=\"preload\" href=\"/plan/assets/js/5.34924a9e.js\" as=\"script\"><link rel=\"prefetch\" href=\"/plan/assets/js/10.71f2ea8b.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/11.531c19fa.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/12.a59f8819.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/13.ff40e81e.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/14.48993ffc.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/15.7540cb15.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/16.6c9f33b2.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/17.c082681f.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/18.222313c9.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/19.c6c0cb26.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/20.6a5a1f44.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/21.ce401302.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/22.f4c56f23.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/23.e3773f37.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/24.df1cc411.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/25.a0446343.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/26.b5730ca6.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/27.61e142c0.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/28.dea7877e.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/29.759952b3.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/3.d4d3657d.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/30.c89d99f2.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/31.b7720c78.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/32.5f7d6df2.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/33.0a805458.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/34.351a5da4.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/35.7884e629.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/4.509cfac1.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/6.7b2142a6.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/7.36dd57ba.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/8.32523789.js\"><link rel=\"prefetch\" href=\"/plan/assets/js/9.bdc34f92.js\">\n",
      "    <link rel=\"stylesheet\" href=\"/plan/assets/css/0.styles.cc301670.css\">\n",
      "  </head>\n",
      "  <body>\n",
      "    <div id=\"app\" data-server-rendered=\"true\"><div class=\"theme-container\"><header class=\"navbar\"><div class=\"sidebar-button\"><svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" role=\"img\" viewBox=\"0 0 448 512\" class=\"icon\"><path fill=\"currentColor\" d=\"M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z\"></path></svg></div> <a href=\"/plan/\" class=\"home-link router-link-exact-active router-link-active\"><!----> <span class=\"site-name\">我的计划 * MangoMei</span></a> <div class=\"links\"><div class=\"search-box\"><input aria-label=\"Search\" autocomplete=\"off\" spellcheck=\"false\" value=\"\"> <!----></div> <nav class=\"nav-links can-hide\"><div class=\"nav-item\"><a href=\"/plan/\" class=\"nav-link router-link-exact-active router-link-active\">\n",
      "  首页\n",
      "</a></div><div class=\"nav-item\"><div class=\"dropdown-wrapper\"><button type=\"button\" aria-label=\"打卡表归档\" class=\"dropdown-title\"><span class=\"title\">打卡表归档</span> <span class=\"arrow right\"></span></button> <ul class=\"nav-dropdown\" style=\"display:none;\"><li class=\"dropdown-item\"><!----> <a href=\"/plan/zh/play/2021.html\" class=\"nav-link\">\n",
      "  2021年\n",
      "</a></li><li class=\"dropdown-item\"><!----> <a href=\"/plan/zh/play/2020.html\" class=\"nav-link\">\n",
      "  2020年\n",
      "</a></li></ul></div></div><div class=\"nav-item\"><a href=\"/plan/zh/okr.html\" class=\"nav-link\">\n",
      "  我的OKR\n",
      "</a></div><div class=\"nav-item\"><a href=\"/plan/zh/food/index.html\" class=\"nav-link\">\n",
      "  生活菜谱\n",
      "</a></div><div class=\"nav-item\"><a href=\"/plan/zh/read-list.html\" class=\"nav-link\">\n",
      "  读书计划\n",
      "</a></div><div class=\"nav-item\"><a href=\"/plan/zh/task-list.html\" class=\"nav-link\">\n",
      "  任务列表\n",
      "</a></div><div class=\"nav-item\"><div class=\"dropdown-wrapper\"><button type=\"button\" aria-label=\"快速跳转\" class=\"dropdown-title\"><span class=\"title\">快速跳转</span> <span class=\"arrow right\"></span></button> <ul class=\"nav-dropdown\" style=\"display:none;\"><li class=\"dropdown-item\"><!----> <a href=\"http://mg.meiflower.top/\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"nav-link external\">\n",
      "  个人首页\n",
      "  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" x=\"0px\" y=\"0px\" viewBox=\"0 0 100 100\" width=\"15\" height=\"15\" class=\"icon outbound\"><path fill=\"currentColor\" d=\"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z\"></path> <polygon fill=\"currentColor\" points=\"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9\"></polygon></svg></a></li><li class=\"dropdown-item\"><!----> <a href=\"http://mg.meiflower.top/mb\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"nav-link external\">\n",
      "  我的博客\n",
      "  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" x=\"0px\" y=\"0px\" viewBox=\"0 0 100 100\" width=\"15\" height=\"15\" class=\"icon outbound\"><path fill=\"currentColor\" d=\"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z\"></path> <polygon fill=\"currentColor\" points=\"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9\"></polygon></svg></a></li><li class=\"dropdown-item\"><!----> <a href=\"http://mg.meiflower.top/cp/bqr\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"nav-link external\">\n",
      "  芒果卡片扫码录入\n",
      "  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" x=\"0px\" y=\"0px\" viewBox=\"0 0 100 100\" width=\"15\" height=\"15\" class=\"icon outbound\"><path fill=\"currentColor\" d=\"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z\"></path> <polygon fill=\"currentColor\" points=\"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9\"></polygon></svg></a></li><li class=\"dropdown-item\"><!----> <a href=\"http://mg.meiflower.top/cp/keyqueue\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"nav-link external\">\n",
      "  芒果卡片点子队列\n",
      "  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" x=\"0px\" y=\"0px\" viewBox=\"0 0 100 100\" width=\"15\" height=\"15\" class=\"icon outbound\"><path fill=\"currentColor\" d=\"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z\"></path> <polygon fill=\"currentColor\" points=\"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9\"></polygon></svg></a></li><li class=\"dropdown-item\"><!----> <a href=\"http://mg.meiflower.top/mr\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"nav-link external\">\n",
      "  在线简历\n",
      "  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" x=\"0px\" y=\"0px\" viewBox=\"0 0 100 100\" width=\"15\" height=\"15\" class=\"icon outbound\"><path fill=\"currentColor\" d=\"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z\"></path> <polygon fill=\"currentColor\" points=\"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9\"></polygon></svg></a></li><li class=\"dropdown-item\"><!----> <a href=\"http://mg.meiflower.top/mango-kit\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"nav-link external\">\n",
      "  mango-kit工具集\n",
      "  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" x=\"0px\" y=\"0px\" viewBox=\"0 0 100 100\" width=\"15\" height=\"15\" class=\"icon outbound\"><path fill=\"currentColor\" d=\"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z\"></path> <polygon fill=\"currentColor\" points=\"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9\"></polygon></svg></a></li></ul></div></div> <!----></nav></div></header> <div class=\"sidebar-mask\"></div> <aside class=\"sidebar\"><nav class=\"nav-links\"><div class=\"nav-item\"><a href=\"/plan/\" class=\"nav-link router-link-exact-active router-link-active\">\n",
      "  首页\n",
      "</a></div><div class=\"nav-item\"><div class=\"dropdown-wrapper\"><button type=\"button\" aria-label=\"打卡表归档\" class=\"dropdown-title\"><span class=\"title\">打卡表归档</span> <span class=\"arrow right\"></span></button> <ul class=\"nav-dropdown\" style=\"display:none;\"><li class=\"dropdown-item\"><!----> <a href=\"/plan/zh/play/2021.html\" class=\"nav-link\">\n",
      "  2021年\n",
      "</a></li><li class=\"dropdown-item\"><!----> <a href=\"/plan/zh/play/2020.html\" class=\"nav-link\">\n",
      "  2020年\n",
      "</a></li></ul></div></div><div class=\"nav-item\"><a href=\"/plan/zh/okr.html\" class=\"nav-link\">\n",
      "  我的OKR\n",
      "</a></div><div class=\"nav-item\"><a href=\"/plan/zh/food/index.html\" class=\"nav-link\">\n",
      "  生活菜谱\n",
      "</a></div><div class=\"nav-item\"><a href=\"/plan/zh/read-list.html\" class=\"nav-link\">\n",
      "  读书计划\n",
      "</a></div><div class=\"nav-item\"><a href=\"/plan/zh/task-list.html\" class=\"nav-link\">\n",
      "  任务列表\n",
      "</a></div><div class=\"nav-item\"><div class=\"dropdown-wrapper\"><button type=\"button\" aria-label=\"快速跳转\" class=\"dropdown-title\"><span class=\"title\">快速跳转</span> <span class=\"arrow right\"></span></button> <ul class=\"nav-dropdown\" style=\"display:none;\"><li class=\"dropdown-item\"><!----> <a href=\"http://mg.meiflower.top/\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"nav-link external\">\n",
      "  个人首页\n",
      "  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" x=\"0px\" y=\"0px\" viewBox=\"0 0 100 100\" width=\"15\" height=\"15\" class=\"icon outbound\"><path fill=\"currentColor\" d=\"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z\"></path> <polygon fill=\"currentColor\" points=\"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9\"></polygon></svg></a></li><li class=\"dropdown-item\"><!----> <a href=\"http://mg.meiflower.top/mb\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"nav-link external\">\n",
      "  我的博客\n",
      "  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" x=\"0px\" y=\"0px\" viewBox=\"0 0 100 100\" width=\"15\" height=\"15\" class=\"icon outbound\"><path fill=\"currentColor\" d=\"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z\"></path> <polygon fill=\"currentColor\" points=\"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9\"></polygon></svg></a></li><li class=\"dropdown-item\"><!----> <a href=\"http://mg.meiflower.top/cp/bqr\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"nav-link external\">\n",
      "  芒果卡片扫码录入\n",
      "  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" x=\"0px\" y=\"0px\" viewBox=\"0 0 100 100\" width=\"15\" height=\"15\" class=\"icon outbound\"><path fill=\"currentColor\" d=\"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z\"></path> <polygon fill=\"currentColor\" points=\"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9\"></polygon></svg></a></li><li class=\"dropdown-item\"><!----> <a href=\"http://mg.meiflower.top/cp/keyqueue\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"nav-link external\">\n",
      "  芒果卡片点子队列\n",
      "  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" x=\"0px\" y=\"0px\" viewBox=\"0 0 100 100\" width=\"15\" height=\"15\" class=\"icon outbound\"><path fill=\"currentColor\" d=\"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z\"></path> <polygon fill=\"currentColor\" points=\"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9\"></polygon></svg></a></li><li class=\"dropdown-item\"><!----> <a href=\"http://mg.meiflower.top/mr\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"nav-link external\">\n",
      "  在线简历\n",
      "  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" x=\"0px\" y=\"0px\" viewBox=\"0 0 100 100\" width=\"15\" height=\"15\" class=\"icon outbound\"><path fill=\"currentColor\" d=\"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z\"></path> <polygon fill=\"currentColor\" points=\"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9\"></polygon></svg></a></li><li class=\"dropdown-item\"><!----> <a href=\"http://mg.meiflower.top/mango-kit\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"nav-link external\">\n",
      "  mango-kit工具集\n",
      "  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" x=\"0px\" y=\"0px\" viewBox=\"0 0 100 100\" width=\"15\" height=\"15\" class=\"icon outbound\"><path fill=\"currentColor\" d=\"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z\"></path> <polygon fill=\"currentColor\" points=\"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9\"></polygon></svg></a></li></ul></div></div> <!----></nav>  <ul class=\"sidebar-links\"><li><section class=\"sidebar-group depth-0\"><p class=\"sidebar-heading open\"><span>首页</span> <!----></p> <ul class=\"sidebar-links sidebar-group-items\"><li><a href=\"/plan/#我的okr\" class=\"sidebar-link\">我的OKR</a><ul class=\"sidebar-sub-headers\"></ul></li><li><a href=\"/plan/#_202203月打卡表\" class=\"sidebar-link\">202203月打卡表</a><ul class=\"sidebar-sub-headers\"></ul></li><li><a href=\"/plan/#_202203月打卡表-2\" class=\"sidebar-link\">202203月打卡表</a><ul class=\"sidebar-sub-headers\"></ul></li><li><a href=\"/plan/#_202202月打卡表\" class=\"sidebar-link\">202202月打卡表</a><ul class=\"sidebar-sub-headers\"></ul></li><li><a href=\"/plan/#_202201月打卡表\" class=\"sidebar-link\">202201月打卡表</a><ul class=\"sidebar-sub-headers\"></ul></li></ul></section></li></ul> </aside> <main class=\"page\"> <div class=\"theme-default-content content__default\"><h1 id=\"首页\"><a href=\"#首页\" class=\"header-anchor\">#</a> 首页</h1> <h2 id=\"我的okr\"><a href=\"#我的okr\" class=\"header-anchor\">#</a> 我的OKR</h2> <p><img src=\"/plan/okr/okr-2022-03.png\" alt=\"\"></p> <div class=\"custom-block tip\"><p class=\"custom-block-title\">TIP</p> <ol><li>打卡表只记录自己当天的综合打分，如果放纵了就打x，进取了就打O。</li> <li>计划由家庭周计划表和我的OKR接管，并将家庭计划表里的个人学习相关的部分抽离，由OKR来驱动。</li> <li>计划任务已经迁移到gitee的项目管理工具内，不再在plan中记录。</li></ol></div> <h2 id=\"_202203月打卡表\"><a href=\"#_202203月打卡表\" class=\"header-anchor\">#</a> 202203月打卡表</h2> <table><thead><tr><th style=\"text-align:center;\"></th> <th style=\"text-align:center;\"></th> <th style=\"text-align:center;\"></th> <th style=\"text-align:center;\"></th> <th style=\"text-align:center;\"></th> <th style=\"text-align:center;\">220401</th> <th style=\"text-align:center;\">220402</th> <th style=\"text-align:center;\">220403</th></tr></thead> <tbody><tr><td style=\"text-align:center;\">打卡</td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">x</td> <td style=\"text-align:center;\"><a href=\"/plan/zh/2022/a034.html#_2022-04-03\">x</a></td></tr> <tr><td style=\"text-align:center;\"></td> <td style=\"text-align:center;\">220404</td> <td style=\"text-align:center;\">220405</td> <td style=\"text-align:center;\">220406</td> <td style=\"text-align:center;\">220407</td> <td style=\"text-align:center;\">220408</td> <td style=\"text-align:center;\">220409</td> <td style=\"text-align:center;\">220410</td></tr> <tr><td style=\"text-align:center;\">打卡</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\"><a href=\"/plan/zh/2022/a034.html#_2022-04-09\">x</a></td> <td style=\"text-align:center;\"></td></tr> <tr><td style=\"text-align:center;\"></td> <td style=\"text-align:center;\">220411</td> <td style=\"text-align:center;\">220412</td> <td style=\"text-align:center;\">220413</td> <td style=\"text-align:center;\">220414</td> <td style=\"text-align:center;\">220415</td> <td style=\"text-align:center;\">220416</td> <td style=\"text-align:center;\">220417</td></tr> <tr><td style=\"text-align:center;\">打卡</td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td></tr> <tr><td style=\"text-align:center;\"></td> <td style=\"text-align:center;\">220418</td> <td style=\"text-align:center;\">220419</td> <td style=\"text-align:center;\">220420</td> <td style=\"text-align:center;\">220421</td> <td style=\"text-align:center;\">220422</td> <td style=\"text-align:center;\">220423</td> <td style=\"text-align:center;\">220424</td></tr> <tr><td style=\"text-align:center;\">打卡</td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td></tr> <tr><td style=\"text-align:center;\"></td> <td style=\"text-align:center;\">220425</td> <td style=\"text-align:center;\">220426</td> <td style=\"text-align:center;\">220427</td> <td style=\"text-align:center;\">220428</td> <td style=\"text-align:center;\">220429</td> <td style=\"text-align:center;\">220430</td> <td style=\"text-align:center;\"></td></tr> <tr><td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td></tr></tbody></table> <h2 id=\"_202203月打卡表-2\"><a href=\"#_202203月打卡表-2\" class=\"header-anchor\">#</a> 202203月打卡表</h2> <table><thead><tr><th style=\"text-align:center;\"></th> <th style=\"text-align:center;\"></th> <th style=\"text-align:center;\">220301</th> <th style=\"text-align:center;\">220302</th> <th style=\"text-align:center;\">220303</th> <th style=\"text-align:center;\">220304</th> <th style=\"text-align:center;\">220305</th> <th style=\"text-align:center;\">220306</th></tr></thead> <tbody><tr><td style=\"text-align:center;\">打卡</td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">x</td> <td style=\"text-align:center;\">x</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\"><a href=\"/plan/zh/2022/a03.html#_2022-03-05\">O</a></td> <td style=\"text-align:center;\">O</td></tr> <tr><td style=\"text-align:center;\"></td> <td style=\"text-align:center;\">220307</td> <td style=\"text-align:center;\">220308</td> <td style=\"text-align:center;\">220309</td> <td style=\"text-align:center;\">220310</td> <td style=\"text-align:center;\">220311</td> <td style=\"text-align:center;\">220312</td> <td style=\"text-align:center;\">220313</td></tr> <tr><td style=\"text-align:center;\">打卡</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\"><a href=\"/plan/zh/2022/a03.html#_2022-03-12\">x</a></td> <td style=\"text-align:center;\">O</td></tr> <tr><td style=\"text-align:center;\"></td> <td style=\"text-align:center;\">220314</td> <td style=\"text-align:center;\">220315</td> <td style=\"text-align:center;\">220316</td> <td style=\"text-align:center;\">220317</td> <td style=\"text-align:center;\">220318</td> <td style=\"text-align:center;\">220319</td> <td style=\"text-align:center;\">220320</td></tr> <tr><td style=\"text-align:center;\">打卡</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">x</td> <td style=\"text-align:center;\"><a href=\"/plan/zh/2022/a03.html#_2022-03-19\">O</a></td> <td style=\"text-align:center;\">O</td></tr> <tr><td style=\"text-align:center;\"></td> <td style=\"text-align:center;\">220321</td> <td style=\"text-align:center;\">220322</td> <td style=\"text-align:center;\">220323</td> <td style=\"text-align:center;\">220324</td> <td style=\"text-align:center;\">220325</td> <td style=\"text-align:center;\">220326</td> <td style=\"text-align:center;\">220327</td></tr> <tr><td style=\"text-align:center;\">打卡</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\"><a href=\"/plan/zh/2022/a03.html#_2022-03-26\">O</a></td> <td style=\"text-align:center;\">O</td></tr> <tr><td style=\"text-align:center;\"></td> <td style=\"text-align:center;\">220328</td> <td style=\"text-align:center;\">220329</td> <td style=\"text-align:center;\">220330</td> <td style=\"text-align:center;\">220331</td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td></tr> <tr><td style=\"text-align:center;\">打卡</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td></tr></tbody></table> <h2 id=\"_202202月打卡表\"><a href=\"#_202202月打卡表\" class=\"header-anchor\">#</a> 202202月打卡表</h2> <table><thead><tr><th style=\"text-align:center;\"></th> <th style=\"text-align:center;\"></th> <th style=\"text-align:center;\">220201</th> <th style=\"text-align:center;\">220202</th> <th style=\"text-align:center;\">220203</th> <th style=\"text-align:center;\">220204</th> <th style=\"text-align:center;\">220205</th> <th style=\"text-align:center;\">220206</th></tr></thead> <tbody><tr><td style=\"text-align:center;\">打卡</td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\">x</td> <td style=\"text-align:center;\"><a href=\"/plan/zh/2022/a02.html#_2022-02-02\">O</a></td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">x</td> <td style=\"text-align:center;\">O</td></tr> <tr><td style=\"text-align:center;\"></td> <td style=\"text-align:center;\">220207</td> <td style=\"text-align:center;\">220208</td> <td style=\"text-align:center;\">220209</td> <td style=\"text-align:center;\">220210</td> <td style=\"text-align:center;\">220211</td> <td style=\"text-align:center;\">220212</td> <td style=\"text-align:center;\">220213</td></tr> <tr><td style=\"text-align:center;\">打卡</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">x</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\"><a href=\"/plan/zh/2022/a02.html#_2022-02-13\">O</a></td></tr> <tr><td style=\"text-align:center;\"></td> <td style=\"text-align:center;\">220214</td> <td style=\"text-align:center;\">220215</td> <td style=\"text-align:center;\">220216</td> <td style=\"text-align:center;\">220217</td> <td style=\"text-align:center;\">220218</td> <td style=\"text-align:center;\">220219</td> <td style=\"text-align:center;\">220220</td></tr> <tr><td style=\"text-align:center;\">打卡</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">x</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\"><a href=\"/plan/zh/2022/a02.html#_2022-02-20\">O</a></td></tr> <tr><td style=\"text-align:center;\"></td> <td style=\"text-align:center;\">220221</td> <td style=\"text-align:center;\">220222</td> <td style=\"text-align:center;\">220223</td> <td style=\"text-align:center;\">220224</td> <td style=\"text-align:center;\">220225</td> <td style=\"text-align:center;\">220226</td> <td style=\"text-align:center;\">220227</td></tr> <tr><td style=\"text-align:center;\">打卡</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">x</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">x</td> <td style=\"text-align:center;\"><a href=\"/plan/zh/2022/a02.html#_2022-02-27\">O</a></td></tr> <tr><td style=\"text-align:center;\"></td> <td style=\"text-align:center;\">220228</td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td></tr> <tr><td style=\"text-align:center;\">打卡</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td></tr></tbody></table> <h2 id=\"_202201月打卡表\"><a href=\"#_202201月打卡表\" class=\"header-anchor\">#</a> 202201月打卡表</h2> <table><thead><tr><th style=\"text-align:center;\"></th> <th style=\"text-align:center;\"></th> <th style=\"text-align:center;\"></th> <th style=\"text-align:center;\"></th> <th style=\"text-align:center;\"></th> <th style=\"text-align:center;\"></th> <th style=\"text-align:center;\">220101</th> <th style=\"text-align:center;\">220102</th></tr></thead> <tbody><tr><td style=\"text-align:center;\">打卡</td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td></tr> <tr><td style=\"text-align:center;\"></td> <td style=\"text-align:center;\">220103</td> <td style=\"text-align:center;\">220104</td> <td style=\"text-align:center;\">220105</td> <td style=\"text-align:center;\">220106</td> <td style=\"text-align:center;\">220107</td> <td style=\"text-align:center;\">220108</td> <td style=\"text-align:center;\">220109</td></tr> <tr><td style=\"text-align:center;\">打卡</td> <td style=\"text-align:center;\"><a href=\"/plan/zh/2022/a01.html#_2022-01-03\">O</a></td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">x</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\"><a href=\"/plan/zh/2022/a01.html#_2022-01-09\">O</a></td></tr> <tr><td style=\"text-align:center;\"></td> <td style=\"text-align:center;\">220110</td> <td style=\"text-align:center;\">220111</td> <td style=\"text-align:center;\">220112</td> <td style=\"text-align:center;\">220113</td> <td style=\"text-align:center;\">220114</td> <td style=\"text-align:center;\">220115</td> <td style=\"text-align:center;\">220116</td></tr> <tr><td style=\"text-align:center;\">打卡</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\"><a href=\"/plan/zh/2022/a01.html#_2022-01-15\">x</a></td> <td style=\"text-align:center;\">O</td></tr> <tr><td style=\"text-align:center;\"></td> <td style=\"text-align:center;\">220117</td> <td style=\"text-align:center;\">220118</td> <td style=\"text-align:center;\">220119</td> <td style=\"text-align:center;\">220120</td> <td style=\"text-align:center;\">220121</td> <td style=\"text-align:center;\">220122</td> <td style=\"text-align:center;\">220123</td></tr> <tr><td style=\"text-align:center;\">打卡</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">x</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\"><a href=\"/plan/zh/2022/a01.html#_2022-01-22\">x</a></td> <td style=\"text-align:center;\">O</td></tr> <tr><td style=\"text-align:center;\"></td> <td style=\"text-align:center;\">220124</td> <td style=\"text-align:center;\">220125</td> <td style=\"text-align:center;\">220126</td> <td style=\"text-align:center;\">220127</td> <td style=\"text-align:center;\">220128</td> <td style=\"text-align:center;\">220129</td> <td style=\"text-align:center;\">220130</td></tr> <tr><td style=\"text-align:center;\">打卡</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">O</td> <td style=\"text-align:center;\">x</td> <td style=\"text-align:center;\">x</td> <td style=\"text-align:center;\">O</td></tr> <tr><td style=\"text-align:center;\"></td> <td style=\"text-align:center;\">220131</td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td></tr> <tr><td style=\"text-align:center;\">打卡</td> <td style=\"text-align:center;\">x</td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td> <td style=\"text-align:center;\"></td></tr></tbody></table> <div class=\"custom-block tip\"><p class=\"custom-block-title\">TIP</p> <p>O有打卡记录时，能快速跳转到打卡记录。</p></div></div> <footer class=\"page-edit\"><!----> <div class=\"last-updated\"><span class=\"prefix\">最近更新:</span> <span class=\"time\">4/3/2022, 8:55:01 PM</span></div></footer> <!----> </main></div><div class=\"global-ui\"><!----></div></div>\n",
      "    <script src=\"/plan/assets/js/app.9cb09e6e.js\" defer></script><script src=\"/plan/assets/js/2.c8b48f9d.js\" defer></script><script src=\"/plan/assets/js/5.34924a9e.js\" defer></script>\n",
      "  </body>\n",
      "</html>\n",
      "\n"
     ]
    }
   ],
   "source": [
    "# 导入http工具包\n",
    "import requests\n",
    "# 导入靓汤，操作html\n",
    "from bs4 import BeautifulSoup\n",
    "# 导入excel 写入工具包\n",
    "import xlwt\n",
    "\n",
    "# 设置认证头信息\n",
    "headers = {\"Authorization\": \"Basic YWRtaW46TWcxOTkzMDMyNEA=\"}\n",
    "r = requests.get(\"http://mg.meiflower.top/plan/\",headers=headers)\n",
    "# 设置编码\n",
    "r.encoding = 'utf-8'\n",
    "html_doc = r.text\n",
    "print(r.text)\n",
    "\n",
    "soup = BeautifulSoup(html_doc, 'html.parser')\n",
    "#print(soup.title)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "soup = BeautifulSoup(html_doc, 'html.parser')\n",
    "arr_table = soup.find_all(\"table\")\n",
    "#print(arr_table)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "成功写入-> source.xls\n"
     ]
    }
   ],
   "source": [
    "wb = xlwt.Workbook()\n",
    "style = xlwt.XFStyle()  # 创建一个样式对象，初始化样式\n",
    "al = xlwt.Alignment()\n",
    "al.horz = 0x02      # 设置水平居中\n",
    "al.vert = 0x01      # 设置垂直居中\n",
    "style.alignment = al\n",
    "for i,t in enumerate(arr_table):\n",
    "    if i > -1: # 从第几个表格开始\n",
    "        #print(\"第%d个表格：\"%i)\n",
    "        sheetName = \"source \"+str(i);\n",
    "        ws = wb.add_sheet(sheetName)\n",
    "        for trIndex,tr in enumerate(t.find_all(\"tr\")):\n",
    "            #print(trIndex,tr.children)\n",
    "            for thtdIndex,thtd in enumerate(tr.children):\n",
    "                tagName = thtd.name\n",
    "                value = thtd.string\n",
    "                isPrint = True\n",
    "                #print(\" ------ :\",thtdIndex)\n",
    "                if tagName == 'th' or tagName == 'td':\n",
    "                    pass\n",
    "                else:\n",
    "                    isPrint = False\n",
    "                if isPrint:\n",
    "                    #print(\"trIndex:\",trIndex)\n",
    "                    #print(\"thtdIndex/2:\",thtdIndex/2)\n",
    "                    col = int(thtdIndex / 2)\n",
    "                    row = int(trIndex + 1)\n",
    "                    #print(i,(thtdIndex/2-1)*7+1)\n",
    "                    ws.write(row, col, value,style)\n",
    "                    #print(tagName,value)   \n",
    "wbName = 'source.xls'\n",
    "wb.save(wbName)\n",
    "print('成功写入->',wbName);"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.13"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
